<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class MY_Loader extends CI_Loader {
	function __construct()
	{
		parent::__construct();
	}
	
	function setPath($style=''){
		$path = str_replace("\\", "/", FCPATH);
		empty($style)?
		$this->_ci_view_paths = array($path.'data/template/' => TRUE):
		$this->_ci_view_paths = array($path.'data/template/'.$style.'/' => TRUE);
	}
}
